/**
 * 
 */
package com.dp.behav.state;

/**
 * @author Sunaina.Sharma
 * 
 *         The ConcreteState implements it's own implementation for the request.
 *         When a Context changes state, what really happens is that we have a
 *         different ConcreteState associated with it
 * 
 */
public class PlayingState implements State {

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.dp.behav.state.State#pressPlay(com.dp.behav.state.MP3PlayerContext)
	 */
	public void pressPlay(MP3PlayerContext context) {
		context.setState(new StandbyState());
	}

}
